package com.mes.cloud.api.dto.request.position;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <岗位日志分页请求>
 *
 * @author xy
 * @version 1.0
 * @date 2019/8/27 16:46
 */
@Data
public class PositionLogPageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "每页条数不能为空")
    private int pageSize;

    @ApiModelProperty(value = "岗位id", required = true)
    @NotNull(message = "岗位id不能为空")
    private String positionId;
}
